package com.h3c.nem.mapstruct;

import com.h3c.nem.entity.SdUploadFile;
import com.h3c.nem.vo.SdUploadFileVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author chenyifan
 * @date 2022/5/10 10:18
 */
@Mapper
public interface SdUploadFileConverter {

    SdUploadFileConverter INSTANCE = Mappers.getMapper(SdUploadFileConverter.class);

    /**
     * entity转换成vo
     * @param uploadFiles
     * @return
     */
    List<SdUploadFileVO> toSdUploadFileVOList(List<SdUploadFile> uploadFiles);
}
